avoid build warning on windows
authorJoey Hess <joeyh@joeyh.name>
Tue, 11 Feb 2025 20:30:47 +0000 (16:30 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 11 Feb 2025 20:31:35 +0000 (16:31 -0400)
Utility/Tmp.hs

index d442d8740d6640f439a659f2d4f8e6a8b74d0db1..f8be5b29c01d794bf830db63ed59fe9383665096 100644 (file)
@@ -22,8 +22,10 @@ module Utility.Tmp (
 import System.IO
 import Control.Monad.IO.Class
 import System.IO.Error
+#ifndef mingw32_HOST_OS
 import Data.Char
 import qualified Data.ByteString as B
+#endif
 
 import Utility.Exception
 import Utility.FileSystemEncoding